<div class="page-body">
    <div class="row">
        <div class="widget">
            <div class="widget-body">
                <div id="horizontal-form">
                    <form class="form-horizontal" role="form"
                          action="{:U('doedit',array('class_id'=>I('get.class_id')))}"
                          method="post" enctype="multipart/form-data">
                        <div class="form-group">
                            <label for="name" class="col-sm-3 control-label no-padding-right">班级名称：</label>
                            <div class="col-sm-3">
                                <input type="text" class="form-control" id="name" name="name" value="{$data.class_name}" required>
                            </div>
                        </div>
                        <div class="form-group ">
                        <label for="name" class="col-sm-3 control-label no-padding-right">所属幼儿园：</label>
                        <select  name="childyuan_id" class="input-xlarge">
                            <option value="0">==请选择==</option>
                            <volist name="childyuan_data" id="vol">
                                <option value="{$vol.id}" <if condition=" $vol.id ==  $data.childyuan_id   "> selected="selected" </if> >{$vol.name}</option>
                            </volist>
                        </select>
                        </div>
                        <div class="form-group  ">
                            <div class="col-sm-offset-3 col-sm-10">
                                <button type="submit" class="btn btn-primary">提 交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>

<script>

</script>